//package example.config;
//
//import org.springframework.core.annotation.Order;
//import org.springframework.stereotype.Component;
//
//import javax.servlet.*;
//import javax.servlet.http.HttpServletRequest;
//import java.io.IOException;
//
////@Order(1)
////@Component
//public class URLFilter implements Filter {
//    @Override
//    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
//        System.out.println("进入过滤器了");
//        HttpServletRequest request1 = (HttpServletRequest) request;
//        System.out.println(request1.getRequestURI());
//        chain.doFilter(request, response);
//    }
//}
